﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ActionName</title>
</head>
<body>
    <div>The controller is: @ViewBag.Controller</div>
    <div>The action is: @ViewBag.Action</div>
    <div>
        @Html.ActionLink("This is an outgoing URL", "CustomVariable", "home")
        @Html.ActionLink("This targets another controller", "Index", "Admin")
        <div>
            This is a URL:
            @Url.Action("Index", "Home", new { id = "MyId" })
        </div>
        <div>
            @Html.ActionLink("Click me to go to another area", "Index", new { area = "Admin", controller = "home" })
        </div>
    </div>
</body>
</html>
